package com.sanqing.model;

import javax.xml.crypto.Data;

//读者信息类
public class Reader {
    private String sex;             //读者性别
    private int age;             //读者年龄
    private String identityCard;    //证件号码
    private int maxNum;          //最大借书量
    private String tel;             //电话号码
    private Double keepMoney;       //押金
    private int idtype;             //证件类型
    //private String zy;              //职业
    private String readerid;        //读者编号
    private Data bztime;          //办证日期
    private String name;            //读者姓名

    public String toString() {
        return "'" + readerid + "','" + name + "','" + sex + "'," + age + ",'" + identityCard + "',0,'" + tel + "'," +
                keepMoney + ", curdate(), " + idtype;
    }

    public String getName() {
        return name;
    }

    public String getSex() {
        return sex;
    }

    public int getAge() {
        return age;
    }

    public String getIdentityCard() {
        return identityCard;
    }

    public int getMaxNum() {
        return maxNum;
    }

    public String getTel() {
        return tel;
    }

    public Double getKeepMoney() {
        return keepMoney;
    }

    public int getIdtype() {
        return idtype;
    }


    public String getReaderid() {
        return readerid;
    }

    public Data getBztime() {
        return bztime;
    }


    public void setName(String name) {
        this.name = name;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public void setIdentityCard(String identityCard) {
        this.identityCard = identityCard;
    }

    public void setMaxNum(int maxNum) {
        this.maxNum = maxNum;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public void setKeepMoney(Double keepMoney) {
        this.keepMoney = keepMoney;
    }

    public void setIdtype(int idtype) {
        this.idtype = idtype;
    }


    public void setReaderid(String readerid) {
        this.readerid = readerid;
    }

    public void setBztime(Data bztime) {
        this.bztime = bztime;
    }


}